﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="IYAKASAPortal.login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>成都弥荣检测线登录系统</title>
    <script type="text/javascript" src="script/killMouse.js"></script>
    <script type="text/javascript">
        //
        //防止frameset中的frame页面跳转到登录页面。
        //----------------------------------------------------------------
        if(window.top.length > 0)
        {
            window.top.location = "Default.aspx";
        }
        //----------------------------------------------------------------
        
        //
        //防止模态窗口跳转到登录页面。
        //----------------------------------------------------------------
        if(window.external.dialogTop != undefined)
        {
            alert("您的登录已超时，请注销后重新登录。");
            window.close();
        }
        //----------------------------------------------------------------
    </script>
        <script language="javascript" type="text/javascript">
            function maximize_window() {
                var window_width = screen.availWidth;
                var window_height = screen.availHeight;
                self.resizeTo(window_width, window_height);
                self.moveTo(0, 0);
                document.getElementById("txtOCode").focus();
            }
  </script>
    <style type="text/css">
        body {background:#ffffff; text-align:center; margin:auto; }
        input{border:1px solid #DFDFDF}

        .Left0706 {
            background: Url('images/ui_07_06.gif');
            background-repeat:no-repeat;
            width:65px;
            height:77px;
    border-spacing:0;
        }
        .Left0707 {
            background: url('images/ui_07_07.gif');
            background-repeat:no-repeat;
            width:211px;
            height:77px;
             border:none;
        }
    </style>
</head>
<body style="background-color:White; margin:0px; background-image: url('images/bg1.gif')" onload="maximize_window();">
    <form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<br />
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
	<tr>
		<td>

		<table border="0" width="100%" cellspacing="0" cellpadding="0">
			<tr>
				<td valign="bottom">
				<p align="left"><font color="#bfbfbf" style="font-size: 14px"> &nbsp;&nbsp;&nbsp;&nbsp;成都弥荣 专业检测设备</font></td>
			</tr>
		</table>

		<table border="0" id="Table03" cellspacing="0" cellpadding="0" style="width:100%; background:url(images/bg3.gif) repeat-x; height:493px;">
			<tr>
				<td width="10%">　</td>
				<td width="823">
<div align="center">
<table id="Table_01" width="823" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="358" valign="bottom">
			<img src="images/ui_05.gif" width="357" height="260" alt="">
            </td>
		<td rowspan="3" width="465">
<table id="Table_2" width="465" height="321" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="6">
			<img src="images/ui_07_01.gif" width="467" height="14" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/ui_07_02.gif" width="18" height="51" alt=""></td>
		<td colspan="4" width="432" height="51" background="images/ui_07_03.gif">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
				<tr>
					<td rowspan="2" style="width:50px;">
					    &nbsp;</td>
					<td style="color:Gray">成都弥荣科技发展有限公司 </td>
				</tr>
				<tr>
					<td><font color="#FFFFFF" style="font-size: 16px; font-weight:bold;"></font></td>
				</tr>
			</table>
		</td>
		<td>
			<img src="images/ui_07_04.gif" width="16" height="51" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="images/ui_07_05.gif" width="467" height="22" alt=""></td>
	</tr>
	<tr>
		<td colspan="2">
            <img src="images/ui_07_06.gif" width="66" height="77" alt="">
		</td>
		<td colspan="2" >
             <img src="images/ui_07_07.gif" width="210" height="77" alt="">
		</td>
		<td colspan="2">
			<img src="images/ui_07_08.gif" width="191" height="77" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="images/ui_07_09.gif" width="467" height="14" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/ui_07_10.gif" width="162" height="52" alt=""></td>
		<td colspan="3" width="307" height="52" background="images/ui_07_11.gif">
			<table border="0" width="100%" cellpadding="0" cellspacing="1" height="100%">
				<tr>
					<td></td>
				</tr>
				<tr>
					<td>&nbsp;<asp:TextBox ID="txtOCode" runat="server" width="200px"></asp:TextBox></td>
				</tr>
				<tr>
					<td valign="bottom">&nbsp;<asp:TextBox ID="txtOPwd" runat="server" width="200px" TextMode="Password"></asp:TextBox></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/ui_07_12.gif" width="162" height="90" alt=""></td>
		<td colspan="3" width="305" height="90" background="images/ui_07_13.gif">
			<table border="0" width="100%" cellpadding="0">
				<tr>
					<td width="72"><asp:ImageButton ID="btnLogin" runat="server" ImageUrl="/images/an1.gif" OnClick="btnLogin_Click" width="67" height="21"  /></td>
					<td><input type="image" name="btnReset" id="btnReset" src="images/an2.gif" style=" border:0px; width:67px; height:21px;" value="" onclick="return ResetAll();" /></td>
					<td>　</td>
					<td>　</td>
				</tr>
				<tr>
					<td width="72">　</td>
					<td>　</td>
					<td>　</td>
					<td>　</td>
				</tr>
				<tr>
					<td width="72">　</td>
					<td>　</td>
					<td>　</td>
					<td>　</td>
				</tr>
				<tr>
					<td width="72">　</td>
					<td>　</td>
					<td>　</td>
					<td>　</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			<img src="images/spacer.gif" width="17" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="47" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="96" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="114" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="175" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="16" height="1" alt=""></td>
	</tr>
</table>
		</td>
	</tr>
	<tr>
		<td height="43" width="358" class="Text">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<font color="#FFFFFF"><span style="font-size: 14px">版权所有　严禁拷贝　违者必究</span></font></td>
	</tr>
	<tr>
		<td height="19" width="358"></td>
	</tr>
	</table></div>
				</td>
				<td>　</td>
			</tr>
		</table>

		</table>
		</td>
	</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
    </form>
</body>
</html>

<script type="text/ecmascript" language="javascript">
function ResetAll()
{
    document.getElementById('txtOCode').value = '';
    document.getElementById('txtOPwd').value = '';
    return false;
}
</script>
